<?php

/**
 * This class handles global issues for the site, configuration, themes and whatever may be one day
 * 
 * @author Marlon Brandon van der Linde
 * @copyright Marlon B van der Linde 2008
 * @version 1.00
 * @license http://www.opensource.org/licenses/mit-license.php MIT-License
*/
class MoltenBlobSite {




	/**
	 * Returns the system load average
	 * @return float
	 */
	function load_avg() {
		$fh = fopen("/proc/loadavg", "r");
		$str = fread($fh, 100);
		fclose($fh);
		$arr = explode(" ", $str);
		return (float)$arr[0];
	}


}


?>
